package com.example.common.enums;

import lombok.Data;

public enum RCode {
    SUCCESS(200, "请求成功"),
    UNKOWN(100, "请稍后重试"),
    ;
    private int code;
    private String Text;

    RCode(int code, String text) {
        this.code = code;
        Text = text;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getText() {
        return Text;
    }

    public void setText(String text) {
        Text = text;
    }
}
